package com.xcc.seata.order.dao;

import com.xcc.seata.order.domain.Order;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface OrderDao {

    //新建订单
    void create(Order order);

    //修改订单状态
    void update(@Param("id") Long id, @Param("status") Integer status);


}
